package cn.yunhe;

/**
 * Created by zs on 2017/10/31.
 */
public class UserBiz {

    public User loginUser(User user) {
        if (user.getUserName().equals("admin") && user.getPassWord().equals("admin")) {
            return new User(1, "admin", "admin", "zhengzhou");
        } else
            return null;
    }

}
